package com.woniu.supermarket.vo;

import com.alibaba.excel.annotation.ExcelIgnore;
import com.alibaba.excel.annotation.ExcelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.Getter;
import lombok.Setter;

@Getter
@Setter
@EqualsAndHashCode
public class CollectionSummaryVo {

    //不需要的的字段使用 @ExcelIgnore
    @ExcelIgnore
    private int year;
    @ExcelIgnore
    private int month;
    @ExcelIgnore
    private int day;
    @ExcelProperty(value = "时间")
    private String time;
    @ExcelProperty(value = "现金笔数")
    private int cashCount;
    @ExcelProperty(value = "现金金额")
    private float cashMoney;
    @ExcelProperty(value = "微信笔数")
    private int wechatCount;
    @ExcelProperty(value = "微信金额")
    private float wechatMoney;
    @ExcelProperty(value = "支付宝笔数")
    private int aliCount;
    @ExcelProperty(value = "支付宝金额")
    private float aliMoney;
    @ExcelProperty(value = "银联笔数")
    private int bankCount;
    @ExcelProperty(value = "银联金额")
    private float bankMoney;
}
